﻿using Application.Dto;
using Domain.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Application.IAppSrevices
{
    public interface ISSDService
    {
        /// <summary>
        /// 分页查询数据
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        Task<List<SSD>> SSDselectAsync(int pageIndex, int pageSize);
        /// <summary>
        /// 总数
        /// </summary>
        /// <returns></returns>
        int SSDSelectCount();
        /// <summary>
        /// 薪酬标准单详细信息删除
        /// </summary>
        /// <param name="sSDDeleteDto"></param>
        /// <returns></returns>
        Task<int> SSDdelectAsync(SSDDeleteDto sSDDeleteDto);

        /// <summary>
        /// 薪酬标准单详细信息添加
        /// </summary>
        /// <returns></returns>
        Task<int> SSDAddAsync(List<SSDAddDto> sSDs);

        /// <summary>
        /// 查询全部薪酬标准数据
        /// </summary>
        /// <returns></returns>
        Task<List<SSD>> SSDFileAsync();

        /// <summary>
        /// 根据薪酬编号查询数据
        /// </summary>
        /// <returns></returns>
        Task<List<SSD>> SSDSelectBySid(string sid);

        /// <summary>
        /// 修改薪酬标准数据
        /// </summary>
        /// <returns></returns>
        Task<int> SSDUpdateAsync(List<SSD> sSDs);
    }
}
